package 标准类;

public class catTest {
    public static void main(String[] args) {
        cat c1 = new cat();
        c1.setName("小咪咪");
        c1.setAge(2);
        String name1 = c1.getName();
        int age1 = c1.getAge();
        System.out.println(name1+age1);

        cat c2 = new cat("大咪咪",3);
        String name2 = c2.getName();
        int age2 = c2.getAge();
        //soutv+回车
        System.out.println(name2+age2);

    }
}
